package org.jeecg.modules.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 公众号
 * @Author: jeecg-boot
 * @Date:   2022-04-12
 * @Version: V1.0
 */
@Data
@TableName("jw_web_jwid")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jw_web_jwid对象", description="公众号")
public class JwWebJwid implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**公众号*/
	@Excel(name = "公众号", width = 15)
    @ApiModelProperty(value = "公众号")
    private java.lang.String jwid;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private java.lang.String name;
	/**应用类型*/
	@Excel(name = "应用类型", width = 15)
    @ApiModelProperty(value = "应用类型")
    private java.lang.String applicationType;
	/**微信二维码图片*/
	@Excel(name = "微信二维码图片", width = 15)
    @ApiModelProperty(value = "微信二维码图片")
    private java.lang.String qrcodeimg;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**微信号*/
	@Excel(name = "微信号", width = 15)
    @ApiModelProperty(value = "微信号")
    private java.lang.String weixinNumber;
	/**微信AppId*/
	@Excel(name = "微信AppId", width = 15)
    @ApiModelProperty(value = "微信AppId")
    private java.lang.String weixinAppid;
	/**微信AppSecret*/
	@Excel(name = "微信AppSecret", width = 15)
    @ApiModelProperty(value = "微信AppSecret")
    private java.lang.String weixinAppsecret;
	/**公众号类型*/
	@Excel(name = "公众号类型", width = 15, dicCode = "jw_account_type")
	@Dict(dicCode = "jw_account_type")
    @ApiModelProperty(value = "公众号类型")
    private java.lang.String accountType;
	/**是否认证*/
	@Excel(name = "是否认证", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否认证")
    private java.lang.String authStatus;
	/**Access_Token*/
	@Excel(name = "Access_Token", width = 15)
    @ApiModelProperty(value = "Access_Token")
    private java.lang.String accessToken;
	/**token获取的时间*/
	@Excel(name = "token获取的时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "token获取的时间")
    private java.util.Date tokenGettime;
	/**api凭证*/
	@Excel(name = "api凭证", width = 15)
    @ApiModelProperty(value = "api凭证")
    private java.lang.String apiticket;
	/**apiticket获取时间*/
	@Excel(name = "apiticket获取时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "apiticket获取时间")
    private java.util.Date apiticketGettime;
	/**jsapiticket*/
	@Excel(name = "jsapiticket", width = 15)
    @ApiModelProperty(value = "jsapiticket")
    private java.lang.String jsapiticket;
	/**jsapiticket获取时间*/
	@Excel(name = "jsapiticket获取时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "jsapiticket获取时间")
    private java.util.Date jsapiticketGettime;
	/**类型：1手动授权，2扫码授权*/
	@Excel(name = "类型：1手动授权，2扫码授权", width = 15, dicCode = "jw_auth_type")
	@Dict(dicCode = "jw_auth_type")
    @ApiModelProperty(value = "类型：1手动授权，2扫码授权")
    private java.lang.String authType;
	/**功能的开通状况：1代表已开通*/
	@Excel(name = "功能的开通状况：1代表已开通", width = 15)
    @ApiModelProperty(value = "功能的开通状况：1代表已开通")
    private java.lang.String businessInfo;
	/**公众号授权给开发者的权限集*/
	@Excel(name = "公众号授权给开发者的权限集", width = 15)
    @ApiModelProperty(value = "公众号授权给开发者的权限集")
    private java.lang.String funcInfo;
	/**授权方昵称*/
	@Excel(name = "授权方昵称", width = 15)
    @ApiModelProperty(value = "授权方昵称")
    private java.lang.String nickName;
	/**授权方头像*/
	@Excel(name = "授权方头像", width = 15)
    @ApiModelProperty(value = "授权方头像")
    private java.lang.String headimgurl;
	/**入口地址*/
	@Excel(name = "入口地址", width = 15)
    @ApiModelProperty(value = "入口地址")
    private java.lang.String hdUrl;
	/**授权信息*/
	@Excel(name = "授权信息", width = 15)
    @ApiModelProperty(value = "授权信息")
    private java.lang.String authorizationInfo;
	/**刷新token*/
	@Excel(name = "刷新token", width = 15)
    @ApiModelProperty(value = "刷新token")
    private java.lang.String authorizerRefreshToken;
	/**令牌*/
	@Excel(name = "令牌", width = 15)
    @ApiModelProperty(value = "令牌")
    private java.lang.String token;
	/**授权状态（1正常，2已取消）*/
	@Excel(name = "授权状态（1正常，2已取消）", width = 15, dicCode = "jw_auth_status")
	@Dict(dicCode = "jw_auth_status")
    @ApiModelProperty(value = "授权状态（1正常，2已取消）")
    private java.lang.String authorizationStatus;

	/**微信商户号*/
	@Excel(name = "微信商户号", width = 15)
    @ApiModelProperty(value = "微信商户号")
    private java.lang.String weixinMchid;
	/**商户API证书的证书序列号*/
    private java.lang.String mchSerialNo;

	/**微信商户号KEY- APIv3密钥-API私钥*/
	@Excel(name = "微信商户号KEY", width = 15)
    @ApiModelProperty(value = "微信商户号KEY")
    private java.lang.String weixinMchkey;

	/**微信商户号支付--API证书路径*/
	private  java.lang.String mchkeyPath;
	/**微信商户号支付--平台证书路径*/
	private  java.lang.String mchcertPath;
    /**微信商户号支付-API证书密钥*/
    private transient java.lang.String mchPrivateKeyStr;
	/**微信商户号支付--平台证书*/
    private transient java.lang.String mchCertificatesStr;

	/**余额*/
	@Excel(name = "余额", width = 15)
    @ApiModelProperty(value = "余额")
    private java.math.BigDecimal balance;

	/**删除状态（0，正常，1已删除）*/
	private String delFlag;
	/**租户*/
	@Excel(name = "租户", width = 15)
    @ApiModelProperty(value = "租户")
    private java.lang.Integer tenantId;

	/**绑定微信、账号、手机*/
	private transient String code;
	private transient String account;
	private transient String phone;

	/**租户拼音缩写*/
	private transient String tenantPinyin;
	/**租户拼音缩写*/
	private transient String openid;
}
